import Ccore

f = Ccore.codFile("grid.cod","frmArti.frm")

table = Ccore.codTable("localhost","root","12qwertz34","Solay","Articulos","v")

#Debug codFile
print "<<< DEBUG codFile >>>"
print f.destFileExt
print f.destFileName
print f.destFullFilename
print f.origFileExt
print f.origFileName
print f.origFullFilename

#Debug codTable
print "<<< DEBUG codTable >>>"
print table.TableName
print "<<< (1) >>>"
for c in table.cols:    
    print table[c].Identifier
    print table[c].Format
    print table[c].Lenght 
    print table[c].Description 
    print table[c].IsPKey
    print table[c].IsKey 
    print table[c].Nullable
    print table[c].Index
